package com.System.service;

import com.System.pojo.DisSupport;
import com.System.pojo.Post;
import com.System.pojo.Support;

import java.util.List;

public interface Comment {
    public List<com.System.pojo.Comment> selectAllComment(com.System.pojo.Comment comment);
    public List<com.System.pojo.Comment>selectOutOfMyComment(com.System.pojo.Comment comment);
    public void addComment(com.System.pojo.Comment comment);
    public void supportComment(com.System.pojo.Comment comment);
    public void deleteSupport(Support support);
    public void updateComment(com.System.pojo.Comment comment);
    public com.System.pojo.Comment selectLikeNumbers(com.System.pojo.Comment comment);
    public void addDisSupport(DisSupport disSupport);
    public void deleteDisFavor(DisSupport disSupport);
    public DisSupport hasDisSupport(DisSupport disSupport);
    public Support hasSupport(Support support);
    public void updateLikeNumber(com.System.pojo.Comment comment);
    public void addSupport(Support support);
    public void deleteMyComment(com.System.pojo.Comment comment);
    public com.System.pojo.Post selectPostOwner(Post post);
}
